{[include file="../../../../library/view/templates/header.tpl"]}
{[include file="../../../../library/view/templates/common.tpl"]}
<script src="{[$host]}/js/goods/goodsDetails.js" type="text/javascript"></script>
<div id="BMainContents" >
<div class="BSpace10px"></div>
<div id="BMainTitleH1">{[$goodsTitle]}</div><div id="BError">{[include file="../../../../library/view/templates/tag/error.tpl"]}</div>
<div class="BFence">
<div class="BSpace10px"></div>

<form id="goodsDetailsForm" name="goodsDetailsForm" action="" method="post" >
<input type = "hidden" name = "hidGoodsNo" id = "hidGoodsNo" value= "{[$GoodsNo]}"/>
<table width="100%" border="0" cellspacing="0" cellpadding="0" >
    <tr>
        <td>
        <div class="BFenceTopLeft"></div>
        <div class="BFenceTopRight"></div>
        </td>
    </tr>
    <tr>
        <td class="BFenceSideLine">
        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="BGrayLineTable">
            <tr>
                <td colspan="2">
                    <div class="BLittleTitle">
                    {[$goodsTitle2]}
                    </div>
                </td>
            </tr>
            <tr>
                <td width="20%" class="BListLabel">
                    {[$goodsCodeLabel]}<span class="Btextlightred">(*)</span>
                </td>
                <td>
                        {[$arrGoodsInfo.GOODS_CODE]}
                </td>
            </tr>
            <tr>
                <td width="20%" class="BListLabel">
                    {[$goodsNameLabel]}<span class="Btextlightred">(*)</span>
                </td>
                <td>
                    {[$arrGoodsInfo.GOODS_NAME]}
                </td>
            </tr>
            <tr>
                <td class="BListLabel">
                    {[$categoryLabel]}
                </td>
                <td>
                    {[include file="../../../common/views/templates/categoryTag.tpl"]}
                </td>
            </tr>
            <tr class="tableDetail2">
                <td class="BListLabel">
                <p>{[$variationLabel]}</p>
                </td>
                <td>
                   {[$arrGoodsInfo.GOODS_CODE]}
                </td>
            </tr>
            <tr id="trBasicPrice">
                <td width="20%" class="BListLabel">{[$sellPriceLabel]}<span class="Btextlightred">(*)</span></td>
                <td>
                 {[$arrGoodsInfo.SALES_PRICE]}&nbsp;{[$amountUnitLabel]}
                </td>
            </tr>
            <tr class="tableDetail2"  id="trStock" >
                <td class="BListLabel">{[$stockLabel]} <span class="Btextlightred">(*)</span>
                </td>
                <td style="line-height: 18px">
                     {[$arrGoodsInfo.STOCK_NUM]}
                </td>
            </tr>
            <tr class="tableDetail2"  id="trSupplier" >
                <td class="BListLabel">{[$goods_EC0003_SupplierLabel]} <span class="Btextlightred">(*)</span>
                </td>
                <td style="line-height: 18px">
                {[foreach from = $SupplierInfo  key = key item = msg]} 
                    {[$key+1]}&nbsp;{[$msg.SUPPLIER_NAME]}<br/>
                {[/foreach]}
                </td>
            </tr>
        </table>
        </td>
    </tr>
    <tr>
        <td>
        <div class="BFenceBottomLeft"></div>
        <div class="BFenceBottomRight"></div>
        </td>
    </tr>
</table>
<div align = "center">
    <input class="BGrayBtn" type = "button" name = "edit"　id = "edit" value = "{[$goods_EC0003_Edit]}" onclick = "goods_edit('{[$GoodsNo]}')"/>
    <input class="BGrayBtn" type = "button" name = "back"　id = "back" value = "{[$goods_EC0003_Back]}" onclick = "goods_back()"/>
</div>
</form>
</div>
</div>

{[include file="../../../../library/view/templates/footer.tpl"]}
